<?php
/**
 * Model Traits Permssion
 * User: zng
 * Date: 2019/11/15
 * Time: 15:08
 */
namespace app\admin\traits\model;

Trait Menus {

    public function permissionCategory()
    {
        return $this->belongsToMany('PermissionCategory', '\\app\\admin\\model\\admin\\MenuCategory', 'category_id', 'menu_id');
    }

}